/*
** my_strcat.c for my_strcat in /home/chassa_m/rendu/Piscine-C-lib/my
** 
** Made by chassa_m
** Login   <chassa_m@epitech.net>
** 
** Started on  Wed Oct  9 08:21:56 2013 chassa_m
** Last update Fri Nov 22 16:20:01 2013 chassa_m
*/

char	*my_strcat(char *dest, char *src)
{
  int	i;
  int	j;

  i = 0;
  j = 0;
  while (dest[i] != '\0')
    i = i + 1;
  while (src[j] != '\0')
    {
      dest[i] = src[j];
      i = i + 1;
      j = j + 1;
    }
  if (i != '\0')
    dest[i] = '\0';
  return (dest);
}

